Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-38599: incorrect folder gen, workaround govmomi vm folder path bug #8861

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

jcpowermac
Copy link
Contributor

This PR resolves an issue when folder is undefined and datacenter exists as a child of a datacenter folder. instead of using DatacenterFolders.VmFolder we
replace that with a path.Join of the datacenter InventoryPath, vm and the clusterID. This will provide the entire correct path to the hidden /vm/ folder in vCenter.

This PR resolves an issue when `folder` is undefined
and datacenter exists as a child of a datacenter folder.
instead of using DatacenterFolders.VmFolder we
replace that with a path.Join of the datacenter InventoryPath,
vm and the clusterID. This will provide the entire
correct path to the hidden `/vm/` folder in vCenter.
@jcpowermac jcpowermac changed the title incorrect folder gen, workaround govmomi vm folder path bug OCPBUGS-38599: incorrect folder gen, workaround govmomi vm folder path bug Aug 16, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 16, 2024
@openshift-ci-robot
Copy link
Contributor

@jcpowermac: This pull request references Jira Issue OCPBUGS-38599, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @gpei

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This PR resolves an issue when folder is undefined and datacenter exists as a child of a datacenter folder. instead of using DatacenterFolders.VmFolder we
replace that with a path.Join of the datacenter InventoryPath, vm and the clusterID. This will provide the entire correct path to the hidden /vm/ folder in vCenter.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Aug 16, 2024
@openshift-ci openshift-ci bot requested a review from gpei August 16, 2024 16:57
@jcpowermac
Copy link
Contributor Author

/cherrypick release-4.17 release-4.16

@openshift-cherrypick-robot

@jcpowermac: once the present PR merges, I will cherry-pick it on top of release-4.17 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.17 release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jcpowermac
Copy link
Contributor Author

cc: @WenXinWei

@jcpowermac
Copy link
Contributor Author

govmomi bug
vmware/govmomi#3523

@vr4manta
Copy link
Contributor

/lgtm
/approve

@vr4manta
Copy link
Contributor

/hold
wait for tests to finish

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 16, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 16, 2024
Copy link
Contributor

openshift-ci bot commented Aug 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vr4manta

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 16, 2024
Copy link
Contributor

openshift-ci bot commented Aug 16, 2024

@jcpowermac: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@jcpowermac
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 16, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 4aa7eaa into openshift:master Aug 16, 2024
21 checks passed
@openshift-ci-robot
Copy link
Contributor

@jcpowermac: Jira Issue OCPBUGS-38599: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-38599 has been moved to the MODIFIED state.

In response to this:

This PR resolves an issue when folder is undefined and datacenter exists as a child of a datacenter folder. instead of using DatacenterFolders.VmFolder we
replace that with a path.Join of the datacenter InventoryPath, vm and the clusterID. This will provide the entire correct path to the hidden /vm/ folder in vCenter.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot

@jcpowermac: new pull request created: #8867

In response to this:

/cherrypick release-4.17 release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-altinfra
This PR has been included in build ose-installer-altinfra-container-v4.18.0-202408170142.p0.g4aa7eaa.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-baremetal-installer
This PR has been included in build ose-baremetal-installer-container-v4.18.0-202408170142.p0.g4aa7eaa.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-terraform-providers
This PR has been included in build ose-installer-terraform-providers-container-v4.18.0-202408170142.p0.g4aa7eaa.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-artifacts
This PR has been included in build ose-installer-artifacts-container-v4.18.0-202408170142.p0.g4aa7eaa.assembly.stream.el9.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants